import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { WelcomeComponent } from './welcome.component';
import {ChatroomComponent} from "./components/chatroom/chatroom.component";
import {ChatuiComponent} from "./components/chatui/chatui.component";


const routes: Routes = [
  { path: '', component: WelcomeComponent },
  {path:'chatroom',component:ChatroomComponent},
  {path:'chatui',component:ChatuiComponent}

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class WelcomeRoutingModule { }
